package com.zelin.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by WF on 2020/4/10 16:31
 */
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="classes")
public class Classes {
    @Id
    private int cid;
    private String cname;
}
